package com.woniuxy.goods.service.confilg;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;


/**
 * 消息队列配置类
 */
@Configuration
public class RabbitMQConfig {
    /**
     * 新增典当物品完善流程执行记录和日志
     * @return
     */
    @Bean
    public Queue RegisterCodeQueue(){
        return new Queue("sava_goods_queue");
    }


}
